<html>
<head><meta charset="utf-8"><title>Looking for help on easy const generics issues · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html">Looking for help on easy const generics issues</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209486955"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209486955" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209486955">(Sep 09 2020 at 09:00)</a>:</h4>
<p>Hello. I apologise if I'm breaking any rules; I'm new here. I'm a programmer with significant experience, but I've worked mostly on the other end of the spectrum in languages (Python). I also have C/C++ and C# experience. I'd like to pick up <a href="https://github.com/rust-lang/rust/issues/75279">https://github.com/rust-lang/rust/issues/75279</a>, would anyone like to get me up to speed?</p>
<p>I also want to say I've already compiled <code>rustc</code> so I'm set up for that.</p>



<a name="209487008"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487008" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487008">(Sep 09 2020 at 09:01)</a>:</h4>
<p>Hi <span aria-label="thumbs up" class="emoji emoji-1f44d" role="img" title="thumbs up">:thumbs_up:</span> welcome</p>



<a name="209487123"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487123" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487123">(Sep 09 2020 at 09:02)</a>:</h4>
<p>I don't know how many tests still remain here, but I think it would be helpful to grep for <code>feature(const_generics</code> in <code>src/test/ui/const-generics</code> and see if there are still tests remaining</p>



<a name="209487176"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487176" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487176">(Sep 09 2020 at 09:03)</a>:</h4>
<p>or much rather <code>[feature(const_generics</code>, tests with <code>cfg_attr(full, feature(const_generics))</code> are already done</p>



<a name="209487251"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487251" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487251">(Sep 09 2020 at 09:04)</a>:</h4>
<p>yeah, there are still a few tests left over</p>



<a name="209487313"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487313" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487313">(Sep 09 2020 at 09:05)</a>:</h4>
<p>If you need more specific pointers on what to do here, don't be afraid <del>of the dark</del><em>to ask</em></p>



<a name="209487509"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487509" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487509">(Sep 09 2020 at 09:07)</a>:</h4>
<p>Small question: What <code>x.py</code> command would be helpful to test this? What stage of the compiler is it in?</p>



<a name="209487547"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487547" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487547">(Sep 09 2020 at 09:07)</a>:</h4>
<p><code>./x.py test src/test/ui/const-generics --stage 1</code></p>



<a name="209487618"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487618" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487618">(Sep 09 2020 at 09:08)</a>:</h4>
<p>is what I would recommend, if you want to hack on the compiler itself, put an <code>-i</code> for incremental at the end or edit it in the <code>config.toml</code> file</p>



<a name="209487644"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487644" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487644">(Sep 09 2020 at 09:08)</a>:</h4>
<p>(cc <span class="user-mention" data-user-id="232545">@Joshua Nelson</span> is <code>--stage 1</code> still required here or is this already the default)</p>



<a name="209487822"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209487822" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209487822">(Sep 09 2020 at 09:10)</a>:</h4>
<p>stage 1 and 2 should have the same behavior, as they both are the same program (just compiled with a different compiler version) <a href="https://rustc-dev-guide.rust-lang.org/building/bootstrapping.html">https://rustc-dev-guide.rust-lang.org/building/bootstrapping.html</a></p>



<a name="209499212"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209499212" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209499212">(Sep 09 2020 at 11:34)</a>:</h4>
<p>I've posted <a href="https://github.com/rust-lang/rust/pull/76514">https://github.com/rust-lang/rust/pull/76514</a> in case someone wants to take a look.</p>



<a name="209502933"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209502933" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209502933">(Sep 09 2020 at 12:19)</a>:</h4>
<p>Stage 1 is the default for <code>test</code></p>



<a name="209503061"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209503061" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209503061">(Sep 09 2020 at 12:20)</a>:</h4>
<p>I should probably document this as part of <a href="https://github.com/rust-lang/rustc-dev-guide/pull/857">https://github.com/rust-lang/rustc-dev-guide/pull/857</a></p>



<a name="209509176"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209509176" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209509176">(Sep 09 2020 at 13:23)</a>:</h4>
<p>added this in <a href="https://github.com/rust-lang/rustc-dev-guide/pull/865">https://github.com/rust-lang/rustc-dev-guide/pull/865</a> - <span class="user-mention" data-user-id="216206">@lcnr</span> maybe you're interested in reviewing?</p>



<a name="209546434"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209546434" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209546434">(Sep 09 2020 at 18:00)</a>:</h4>
<blockquote>
<p>added this in <a href="https://github.com/rust-lang/rustc-dev-guide/pull/865">https://github.com/rust-lang/rustc-dev-guide/pull/865</a> - @lcnr maybe you're interested in reviewing?</p>
</blockquote>
<p><a href="https://github.com/rust-lang/rustc-dev-guide/pull/865">https://github.com/rust-lang/rustc-dev-guide/pull/865</a> or <a href="https://github.com/rust-lang/rust/pull/76514">https://github.com/rust-lang/rust/pull/76514</a> ?</p>
<p>doesn't really matter, looked at both <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>



<a name="209610992"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209610992" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209610992">(Sep 10 2020 at 08:52)</a>:</h4>
<p>Small question -- Are there any visible indicators or logs of <code>bors</code>' progress? Or does it just do its thing and commit when it's ready?</p>



<a name="209611214"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209611214" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209611214">(Sep 10 2020 at 08:55)</a>:</h4>
<p><a href="https://buildbot2.rust-lang.org/homu/queue/rust">https://buildbot2.rust-lang.org/homu/queue/rust</a></p>



<a name="209611525"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Looking%20for%20help%20on%20easy%20const%20generics%20issues/near/209611525" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Looking.20for.20help.20on.20easy.20const.20generics.20issues.html#209611525">(Sep 10 2020 at 08:58)</a>:</h4>
<p>is probably what you want here</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>